/**
 * 
 */
package com.testing.json;

/**
 *
 * @author Jason
 * created at: Nov 2, 2011
 */
public class SimplePOJO2 extends SimplePOJO {
	private String address;
	
	/**
	 * ctor.
	 * @param pName
	 * @param pAge
	 * @param pPets
	 * @param pAddress
	 */
	public SimplePOJO2(
		String pName, Integer pAge, String[] pPets, String pAddress) {
		
		super(pName, pAge, pPets);
		this.address=pAddress;
	}

	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "SimplePOJO2 [address=" + address + ", getName()=" + getName()
				+ ", getAge()=" + getAge() + ", getPets()=" + getPets() + "]";
	}
}
